# -*- coding:utf-8 -*-
# @FileName :normalize_views.py
# @Date: 2024/8/1
# @Author:天空之城
from flask import Blueprint

from address_normalizer.app.routes.normalize_route import NormalizeAddress
from address_normalizer.app.routes.tokenize_and_normalize_route import TokenizeAddress

normalize_bp = Blueprint('normalize', __name__)
# 将类视图添加到蓝图中
normalize_bp.add_url_rule('/normalize_address', view_func=NormalizeAddress.as_view('normalize_address'))
normalize_bp.add_url_rule('/TokenizeAddress', view_func=TokenizeAddress.as_view('TokenizeAddress'))
